package com.zhang.goods.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhang.goods.entity.Category;

import java.util.List;

/**
 * <p>
 * 分类表 服务类
 * </p>
 *
 * @author 创世神
 * @since 2023-08-28
 */
public interface ICategoryService extends IService<Category> {

    List<Category> getTreeList();

    boolean delCategory(Long categoryId);

    List<Category> ListByParentId(Long parentId);

    List<Category> treeListByParentId(Long parentId);
}
